package com.jine.boot7.servlet;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class MyServlet extends HttpServlet {

    Logger logger = LoggerFactory.getLogger(MyServlet.class);
    java.util.logging.Logger log=java.util.logging.Logger.getLogger("11111");

    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        logger.info("servlet通过get方式请求完成...");
        log.info("000000000000000000000000000");
        System.err.println("servlet...");
    }
}
